using Shop.Core.Share;
using Shop.Model.Dto.Admin.Gift;
using Shop.Model.View.Admin.Gift;

namespace Shop.IServices.Admin;

public interface IGiftService
{
    /// <summary>
    /// 赠品活动列表
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult<PageModel<GiftListVo>> GiftList(GiftListDto dto);

    /// <summary>
    /// 添加赠品活动
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult AddGift(AddGiftDto dto);

    /// <summary>
    /// 赠品活动详情
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult<GiftInfoVo> GiftInfo(long dto);

    /// <summary>
    /// 结束赠品活动
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult GiftDown(long dto);

    /// <summary>
    /// 编辑赠品活动
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult GiftEdit(GiftEditDto dto);
}